<template>
  <div class="home">
    <CommonHeader :title="title" :isMain="isMain"/>
   <BannerData :url="bannerUrl"/>
   <HomeData :url="homeData"/>
  </div>
</template>

<script>
import BannerData from "./homedata/BannerData"
import HomeData from "./homedata/HomeData"
import CommonHeader from "@/components/CommonHeader"

export default {
  name: 'Home',
  data(){
    return{
      title:"",
      isMain:false,
      bannerUrl: this.HOST + "/api/banners",
      homeData: this.HOST + "/api/homedata",
    }
  },
  components:{
    BannerData,
    HomeData,
    CommonHeader
  }
}
</script>

<style scoped>

</style>